void MainWindow::DrawPiece()
{
	QPainter painter(this);
	painter.setPen(QPen(QColor(Qt::transparent)));

    for (int i = 0; i<mPiece.size(); i++)
	{
        Piece piece= mPiece[i];
        if (piece.mBlack)
		{
            painter.setBrush(QColorConstants::Svg::bisque);
		}
		else
        {
                  painter.setBrush(QColorConstants::Svg::aqua);
                }
        DrawChessAtPoint(painter,piece.mPt);
	}
}